/*
 * gpio.c
 * Project 4
 * Nicole Ang (nang1@asu.edu)
 * Bijan Fakhri (bfakhri@asu.edu)
 * CSE 325: Embedded Microprocessor Systems
 * Spring 2013
 */

#include "gpio.h"

void gpio_ta_init(){
	//Port TA set to alternate 2 function
	MCF_GPIO_PTAPAR |= MCF_GPIO_PTAPAR_PTAPAR3(3);
	
	//set to output
	MCF_GPIO_DDRTA |= MCF_GPIO_DDRTA_DDRTA3;
}